// samsting : this file is auto create.

#include "Ram/2015-05-01/ListVirtualMFADevicesResponse.h"

namespace aliyun { namespace Ram {

ListVirtualMFADevicesResponse::ListVirtualMFADevicesResponse() {
}

const string& ListVirtualMFADevicesResponse::VirtualMFADevice::User::GetUserId(void) const {
  return UserId_;
}

const string& ListVirtualMFADevicesResponse::VirtualMFADevice::User::GetUserName(void) const {
  return UserName_;
}

const string& ListVirtualMFADevicesResponse::VirtualMFADevice::User::GetDisplayName(void) const {
  return DisplayName_;
}

const ListVirtualMFADevicesResponse::VirtualMFADevice::User& ListVirtualMFADevicesResponse::VirtualMFADevice::GetUser(void) const {
  return User_;
}

const string& ListVirtualMFADevicesResponse::VirtualMFADevice::GetSerialNumber(void) const {
  return SerialNumber_;
}

const string& ListVirtualMFADevicesResponse::VirtualMFADevice::GetActivateDate(void) const {
  return ActivateDate_;
}

const std::vector<ListVirtualMFADevicesResponse::VirtualMFADevice>& ListVirtualMFADevicesResponse::GetVirtualMFADevices(void) const {
  return VirtualMFADevices_;
}

const char* ListVirtualMFADevicesResponse::BaseKey(void) {
  return "ListVirtualMFADevicesResponse";
}

void ListVirtualMFADevicesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int VirtualMFADevices__length = 0;
  UnmarshallerInt(VirtualMFADevices__length, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices.Length");
  if(VirtualMFADevices__length >= 0) {
    VirtualMFADevices_.resize(VirtualMFADevices__length);
    for(int i1 = 0; i1 < VirtualMFADevices__length; i1++) {
      UnmarshallerString(VirtualMFADevices_[i1].SerialNumber_, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices["+string_ValueOfInt(i1)+"].SerialNumber");
      UnmarshallerString(VirtualMFADevices_[i1].ActivateDate_, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices["+string_ValueOfInt(i1)+"].ActivateDate");
      UnmarshallerString(VirtualMFADevices_[i1].User_.UserId_, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices[+"+string_ValueOfInt(i1)+"].User.UserId");
      UnmarshallerString(VirtualMFADevices_[i1].User_.UserName_, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices[+"+string_ValueOfInt(i1)+"].User.UserName");
      UnmarshallerString(VirtualMFADevices_[i1].User_.DisplayName_, response_map, "ListVirtualMFADevicesResponse.VirtualMFADevices[+"+string_ValueOfInt(i1)+"].User.DisplayName");
    } // for(int i1 = 0; i1 < VirtualMFADevices__length; i1++) {
  } // if(VirtualMFADevices__length >= 0) {

}


} } // namespace aliyun { namespace Ram {

// end of file 
